package com.yhgm.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yhgm.model.dto.department.DepartmentQueryRequest;
import com.yhgm.model.entity.Department;
import com.yhgm.model.vo.DepartmentVO;

/**
* @author Gaoming
* @description 针对表【department(部门)】的数据库操作Service
* @createDate 2024-03-23 10:10:04
*/
public interface DepartmentService extends IService<Department> {

    /**
     * 获取部门信息（脱敏）
     * @param department
     * @return
     */
    DepartmentVO getDepartmentVO(Department department);

    /**
     * 获取查询条件
     *
     * @param departmentQueryRequest
     * @return
     */
    QueryWrapper<Department> getQueryWrapper(DepartmentQueryRequest departmentQueryRequest);
}
